import "./js/dom.js";
import Vue from "Vue";
import './assets/css/base.sass'
import {  name,  year } from './js/util.js'

Promise.resolve(year).then(value => {

  console.log(`${name} - ${value}`)

})
const s = new Set([1, 2, 3, 4, 5, 3, 2, 16, 7, 83, 21, 2, 1]);

var w = Object.assign({}, { w: 1, e: 4 })
console.log(w);
console.log([...s]);
function pro(v) {
  return new Promise((resolve) => {
    if (v) {
      resolve('真11')
    } else {
      resolve('假22')
    }
  })
}
pro(true).then(res=>{
  console.log(res)
})
// async function awaitTest(){
//   let res = await pro(true);
//   console.log(res)
//   return res;
// }
// awaitTest();


new Vue({
    el:'#app'
})